<template>
    <view class="detail">
        <u-parse :html="content"></u-parse>
    </view>
</template>
<script>
export default {
  data() {
    return {
      content: "",
      id: 0
    };
  },

  onLoad(options) {
    this.id = options.id;
    this.getLst();
  },

  methods: {
    getLst() {
        this.$request.get('api/wanlshop.shop/getShopInfo', { id: this.id }).then(res => {
            console.log(res, "商家详情");
            this.content = res.data.bio;
        })
    }
  },
};
</script>
<style lang="scss" scoped>
.detail{
    padding: 20rpx;
}
</style>